/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 殇
 * Date: 2025-07-22
 * Time: 12:43
 */
public class Test {
    public static void main(String[] args) {
        double sum=0,des=100;
        for(int i=0;i<10;i++){
            sum+=des;
            des/=2;
            if(i!=9)
                sum+=des;
        }
        System.out.println("第十次落地的总距离:"+sum);
        System.out.println("第十次反弹的高度:"+des);
    }
}
